package cn.chencaiju.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import cn.chencaiju.domain.Category;

public interface CategoryMapper {
	int delete(int id);
	int count();
	int update(Category cate);
	List<Category> page(
			@Param("start") int start,
			@Param("size") int size);
	
	List<Category> findAll();
	int addCategory(Category cate);
}